package com.gallop.common.lock.exception;

public class DistributedLockException extends RuntimeException {

    public DistributedLockException(String key) {
        super("lock with key " + key + " failed.");
    }

    public DistributedLockException(String key, Throwable cause) {
        super("lock with key " + key + " failed.", cause);
    }
}
